home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / AppleEvents / Events / AEAttribute.h < prev    next >
Text File  |  2000-06-23  |  483b  |  26 lines

  1. // AEAttribute.h
  2.  
  3. #ifndef AEAttribute_h
  4. #define AEAttribute_h
  5.  
  6. #ifndef ConstAEAttribute_h
  7. #include "ConstAEAttribute.h"
  8. #endif
  9.  
  10. class AEDescriptor;
  11.  
  12. class AEAttribute: public ConstAEAttribute
  13.   {
  14.     public:
  15.         AEAttribute( AEEvent& theEvent, AEKey theKey )
  16.           : ConstAEAttribute( theEvent, theKey )
  17.           {}
  18.         
  19.         AEEvent& Event() const        { return const_cast<AEEvent&>( ConstAEAttribute::Event() ); }
  20.  
  21.         void operator=( const AEDescriptor& );
  22.         void Set( AEType, ConstData );
  23.   };
  24.  
  25. #endif
  26.